<!DOCTYPE html>
<html>
<head>
<include file="Home@public/link" />
<link href="STRING_INDEX/css/my_order.css" type="text/css" rel="stylesheet"/>
<title>订单列表</title>
</head>
<body>
<!--顶部图层-->
<include file="Home@public/head1" />
<!--订单列表样式-->
<div class="user_style middle"> 
    <div class="user_center clearfix">
   <!--左侧菜单图层-->
    <include file="Home@public/user_center" />
   <!--右侧样式属性-->
        <div class="right_style fr">
            <div class="user_title_name"><span>订单列表</span></div>
             <div class="c_r_t">
                <ul>
                    <li><a href="{$orderlist}">所有订单</a></li>
                    <li class="current"><a href="{$obligation}">待付款</a><span><if condition="$obligations gt 0">{$obligations}<else/> </if></span></li>
                    <li><a href="{$shipments}">待发货</a><span><if condition="$shipment gt 0">{$shipment}<else/> </if></span></li>
                    <li><a href="{$receiveds}">待收货</a><span><if condition="$received gt 0">{$received}<else/> </if></span></li>
                    <li><a href="#">待评价</a><span></span></li>
                </ul>
                <!-- <a href="#" class="laji">订单回收站</a> -->
                <div class="clear"></div>
            </div>
            <div class="c_r_m">
                <div class="search"><input type="text" placeholder="输入商品名称或订单号搜索"><input type="submit" value="搜索"></div>
                <div class="xiadan">
                    下单时间：
                    <select>
                        <option>近三个月</option>
                    </select>
                </div>
                <div class="status">
                    下单时间：
                    <select>
                        <option>近三个月</option>
                    </select>
                </div>
            </div>
            <div class="Order_form_list">
                <table>
                    <thead>
                        <tr>
                            <td class="list_name_title0">商品</td>
                            <td class="list_name_title1">单价(元)</td>
                            <td class="list_name_title2">数量</td>
                            <td class="list_name_title4">实付款(元)</td>
                            <td class="list_name_title5">订单状态</td>
                            <td class="list_name_title6">操作</td>
                        </tr>
                    </thead>
                    <volist name="order" id="vo" >
                    <tbody>
                        <tr>
                            <td colspan="6" class="Order_form_time">订单号：{$vo.id} 下单时间：{$vo.add_time} </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <table class="Order_product_style">
                                    <tbody>
                                        <volist name="vo['product']" id="voo" >
                                            <tr>
                                                <td>
                                                    <div class="product_name clearfix">
                                                        <a href="#" class="product_img">
                                                            <img src="STRING_PRODUCT/{$voo.photos}" width="60px" height="60px"></a>
                                                        <a>{$voo.merchandise}</a>
                                                        <!-- <p class="specification">礼盒装20个/盒</p> -->
                                                    </div>
                                                </td>
                                                <td>{$voo.price}</td>
                                                <td>{$voo.number}</td>
                                            </tr>
                                        </volist>
                                    </tbody>
                                </table>
                            </td>   
                            <td class="split_line">{$vo.total}</td>
                            <td class="split_line">
                            <if condition="$vo.status eq 1"> 待付款
                            <elseif condition="$vo.status eq 2"/>待发货
                            <elseif condition="$vo.status eq 3" />待收货
                            </if>
                            </td>
                            <td class="operating">
                                <a href="#">查看详细</a>
                                <a href="#">删除</a>
                            </td>
                        </tr>
                    </tbody>
                    </volist> 
                </table>
            </div>
        </div>
    </div>
</div>
<include file="Home@public/right" />
</body>
</html>
